//
//  MBProcessHUDHelper.h
//  MaiQuan
//
//  Created by ZHANG Tianle on 4/30/12.
//  Copyright (c) 2012 MyQuan. Inc.. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "MBProgressHUD.h"

@interface MBProgressHUDHelper : NSObject

+ (MBProgressHUD*)popUpMBProcessHUD:(UIView*)rootView delegate:(id<MBProgressHUDDelegate>)delegate;

+ (void)changeToMBSuccessMode:(MBProgressHUD*)progressHUD customMsg:(NSString*)customMsg;
+ (void)changeToMBSuccessMode:(MBProgressHUD*)progressHUD customMsg:(NSString*)customMsg afterDelay:(NSTimeInterval)afterDelay;

+ (void)changeToMBFailedMode:(MBProgressHUD*)progressHUD customMsg:(NSString*)customMsg;
+ (void)changeToMBFailedMode:(MBProgressHUD*)progressHUD customMsg:(NSString*)customMsg afterDelay:(NSTimeInterval)afterDelay;

@end
